from django.contrib import admin
from django import http
from django.urls import path
from apps.areas import views

urlpatterns = [

    # 省份地址 GET http://www.meiduo.site:8000/areas/
    path('areas/', views.ProvinceView.as_view()),

    # 市区地址 GET http://www.meiduo.site:8000/areas/12000/
    path('areas/<int:id>/', views.CtiyView.as_view()),

]
